package com.wicket.okrapp.biz.service.dto.common;

import com.wicket.okrapp.common.dto.BaseDto;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;

import lombok.Data;
import java.util.Objects;

/**
 * @desc ContentFatherAndMidCycleTypeAnalysisDto
 * @使用场景
 */
@Data
public class ContentFatherAndMidCycleTypeAnalysisDto
  extends BaseDto
  implements Serializable {

  /**
   * 周期类型标识
   */
  @ApiModelProperty("周期类型标识")
  private String cycleTypeCode;

  /**
   * 排序
   */
  @ApiModelProperty("排序")
  private String orderNumber;
@Override
  public boolean equals(Object o) {
      if (this == o) return true;
      if (o == null || getClass() != o.getClass()) return false;
      if (!super.equals(o)) return false;
      ContentFatherAndMidCycleTypeAnalysisDto that = (ContentFatherAndMidCycleTypeAnalysisDto) o;
      return  cycleTypeCode == that.cycleTypeCode&&orderNumber == that.orderNumber;
    }
@Override
  public int hashCode() {
      return Objects.hash(super.hashCode(), cycleTypeCode,orderNumber);
    }

}
